﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true" CodeFile="CommentEdit.aspx.cs" Inherits="Admin_Modules_Comments_CommentEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="c" runat="Server">
    <div class="wrap">
        <div id="icon-edit" class="icon32 icon32-posts-post">
            <br />
        </div>
        <h2>Edit Comment</h2>
        <div id="wpbody-content">
            <table class="form-table">
                <tbody>
                    <tr class="form-field form-required">
                        <th>
                            <label for="name">Họ Tên</label>
                        </th>
                        <td>
                            <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator ControlToValidate="txtUserName" ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr class="form-field form-required">
                        <th scope="row" valign="top">
                            <label for="name">
                                Nội dung</label>
                        </th>
                        <td>
                            <%--<input name="name" id="name" type="text" value="" size="40" aria-required="true">--%>
                            <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" Height="150"></asp:TextBox>
                            <asp:RequiredFieldValidator ControlToValidate="txtContent" ID="rname" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                            <%--<p class="description">
                                The name is how it appears on your site.
                            </p>--%>
                        </td>
                    </tr>
                </tbody>
            </table>
            <p class="submit">
                <%--<input type="submit" name="submit" id="submit" class="button-primary" value="Update">--%>
                <asp:Button ID="btnUpdate" runat="server" CssClass="button-primary"
                    Text="Update" OnClick="btnUpdate_Click" />
                <a class="button-primary" href="Default.aspx">List Comments</a> &nbsp;
                <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>
            </p>
        </div>
    </div>
</asp:Content>

